package org.oims.simpleserver.mapper;

import org.oims.simpleserver.entities.db.FriendMsgItem;
import org.springframework.stereotype.Repository;

import java.util.Calendar;

@Repository
public interface MessageMapper {
    /**
     *
     * @param friendMsg
     */
    int insertFriendMsg(FriendMsgItem friendMsg);

    /**
     *
     * @param time
     */
    void deleteOutDateFriendMsgs(Calendar time);
}
